#ifndef CLASS_P
#define CLASS_P

#include <stdio.h>
	
class P {
	public:
		REAL Mass;
		REAL Pos[3];
		REAL Vel[3];
		
		// derivatives
		REAL eErrRel;
		REAL h;
		REAL dh;
		REAL v_esc;
		REAL pot;
		bool flag;
		
		void print() {
			
			printf("P::print()\n");
			printf(" ├ Mass = %g\n", Mass);
			printf(" ├ Pos[3] = { %g, %g, %g }\n", Pos[0], Pos[1], Pos[2] );
			printf(" └ Vel[3] = { %g, %g, %g }\n", Vel[0], Vel[1], Vel[2] );
			
		}
};

#endif